Skip to content

Add multi-session support to Device.js#55237

Closed
motiz88 wants to merge 1 commit intofacebook:mainfrom
motiz88:export-D90174643
Closed

Add multi-session support to Device.js#55237
motiz88 wants to merge 1 commit intofacebook:mainfrom
motiz88:export-D90174643

Conversation

@motiz88
Copy link
Contributor

@motiz88 motiz88 commented Jan 19, 2026

Summary:
Adds multi-session support to the Node side of the inspector-proxy protocol implementation. The protocol now has an explicit sessionId property in all relevant messages.

Multi-session support is fully backwards compatible:

  • An app that does not report itself as multi-session capable will get the old proxy behaviour.
  • If the enableStandaloneFuseboxShell experiment flag is disabled by the integrator/framework, we automatically disable multi-session support, too. This is to guarantee that we continue to have at most one active RNDT window/tab open per app. (The standalone shell guarantees this independently of the proxy, while the old browser-based flow requires the proxy to keep enforcing the single-session UX.)

Changelog: [General][Added] Support multiple CDP connections to one React Native Host (diff 2 of 2)

Differential Revision: D90174643

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 19, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 19, 2026

@motiz88 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90174643.

Summary:

Adds multi-session support to the Node side of the inspector-proxy protocol implementation. The protocol now has an explicit `sessionId` property in all relevant messages.

Multi-session support is fully backwards compatible:

* An app that does not report itself as multi-session capable will get the old proxy behaviour.
* If the `enableStandaloneFuseboxShell` experiment flag is disabled by the integrator/framework, we automatically disable multi-session support, too. This is to guarantee that we continue to have at most one active RNDT window/tab open per app. (The standalone shell guarantees this independently of the proxy, while the old browser-based flow requires the proxy to keep enforcing the single-session UX.)

Changelog: [General][Added] Support multiple CDP connections to one React Native Host (diff 2 of 2)

Reviewed By: robhogan

Differential Revision: D90174643
@motiz88 motiz88 force-pushed the export-D90174643 branch 2 times, most recently from 396b1be to 584a008 Compare January 23, 2026 15:46
@meta-codesync meta-codesync bot closed this in f046599 Jan 26, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 26, 2026

This pull request has been merged in f046599.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 26, 2026
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @motiz88 in f046599

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants